<?php

namespace catchAdmin\apidoctor\validate;

use think\Validate;

class DoctorValidate extends Validate
{
    protected $rule = [
        'doctor_code' => 'require'
    ];

    protected $message = [
        'doctor_code.require' => '缺少doctor_code参数'
    ];

    protected $scene = [
        'get_yhd_my' => ['doctor_code']
    ];  
}